package cn.csddxt.entity;

import java.util.Date;
import java.util.List;

import cn.csddxt.util.MybatisUtile;

public class Provider {

	private Integer id; // id
	private String proCode; // 供应商编�?
	private String proName; // 供应商名�?
	private String proDesc; // 供应商描�?
	private String proContact; // 供应商联系人
	private String proPhone; // 供应商电�?
	private String proAddress; // 供应商地�?
	private String proFax; // 供应商传�?
	private Integer createdBy; // 创建�?
	private Date creationDate; // 创建时间
	private String creatDate;// 创建时间
	private Integer modifyBy; // 更新�?
	private Date modifyDate;// 更新时间
	private List<Bill> billpro;

	public Provider() {
		// TODO 自动生成的构造函数存根
	}

	public Provider(Integer id, String proCode, String proName, String proDesc, String proContact, String proPhone,
			String proAddress, String proFax, Integer createdBy, Date creationDate, Integer modifyBy, Date modifyDate) {
		super();
		this.id = id;
		this.proCode = proCode;
		this.proName = proName;
		this.proDesc = proDesc;
		this.proContact = proContact;
		this.proPhone = proPhone;
		this.proAddress = proAddress;
		this.proFax = proFax;
		this.createdBy = createdBy;
		this.creationDate = creationDate;
		this.modifyBy = modifyBy;
		this.modifyDate = modifyDate;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getProCode() {
		return proCode;
	}

	public void setProCode(String proCode) {
		this.proCode = proCode;
	}

	public String getProName() {
		return proName;
	}

	public void setProName(String proName) {
		this.proName = proName;
	}

	public String getProDesc() {
		return proDesc;
	}

	public void setProDesc(String proDesc) {
		this.proDesc = proDesc;
	}

	public String getProContact() {
		return proContact;
	}

	public void setProContact(String proContact) {
		this.proContact = proContact;
	}

	public String getProPhone() {
		return proPhone;
	}

	public void setProPhone(String proPhone) {
		this.proPhone = proPhone;
	}

	public String getProAddress() {
		return proAddress;
	}

	public void setProAddress(String proAddress) {
		this.proAddress = proAddress;
	}

	public String getProFax() {
		return proFax;
	}

	public void setProFax(String proFax) {
		this.proFax = proFax;
	}

	public Integer getCreatedBy() {
		return createdBy;
	}

	public void setCreatedBy(Integer createdBy) {
		this.createdBy = createdBy;
	}

	public Date getCreationDate() {
		return creationDate;
	}

	public void setCreationDate(Date creationDate) {
		this.creationDate = creationDate;

		this.creatDate = MybatisUtile.datestring(this.creationDate);
	}

	public Integer getModifyBy() {
		return modifyBy;
	}

	public void setModifyBy(Integer modifyBy) {
		this.modifyBy = modifyBy;
	}

	public Date getModifyDate() {
		return modifyDate;
	}

	public void setModifyDate(Date modifyDate) {
		this.modifyDate = modifyDate;
	}

	public String getCreatDate() {
		return creatDate;
	}

	public void setCreatDate(String creatDate) {
		this.creatDate = creatDate;
	}

	public List<Bill> getBillpro() {
		return billpro;
	}

	public void setBillpro(List<Bill> billpro) {
		this.billpro = billpro;
	}

}
